#ifndef _SOMB_SOCK_H_
#define _SOMB_SOCK_H_

#include "somb_manager.h"

extern int32_t somb_sock_init(void);


extern int32_t somb_sock_poll_add(int fd);
extern int32_t somb_sock_poll_delete(int fd);

extern int somb_sock_poll(int fds[],uint32_t fdsize);

extern int32_t somb_sock_send(int skfd,char *DestAddr,void *buffer,uint32_t buffer_size,bool MoreBuffer);

extern int32_t somb_sock_recv(int skfd,char *SrcAddr,uint32_t SrcAddrSize,void*buffer,uint32_t buffer_size);
#endif //_SOMB_SOCK_H_
